var animateIt = function(pElement, pType){
	
	var TUC = Titanium.UI.createAnimation();
	if(pType=='LIn'){
		pElement.left = -320;
		TUC.left = 0;
		TUC.duration = 300;
	}
	
	if(pType=='RIn'){
		pElement.right = 320;
		TUC.left = 0;
		TUC.duration = 300;
	}
	
	if(pType=='LOut'){
		TUC.left = -320;
		TUC.duration = 300;
	}
	
	if(pType=='ROut'){
		pElement.left = 0;
		TUC.left = 320;
		TUC.duration = 300;
	}
	

	pElement.animate(TUC);
}
